From 11ad68647a539344d81eda92cf5ec24d8c2354b1 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 18 Oct 2019 10:50:39 -0600 Subject: [PATCH] ostree/trivial-httpd: Add log message for autoexit This is useful when checking if the daemon actually exited since we don't store the child PID anywhere. --- src/ostree/ostree-trivial-httpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ostree/ostree-trivial-httpd.c b/src/ostree/ostree-trivial-httpd.c index e5dfc320..a38abbea 100644 --- a/src/ostree/ostree-trivial-httpd.c +++ b/src/ostree/ostree-trivial-httpd.c @@ -494,6 +494,7 @@ on_dir_changed (GFileMonitor *mon, if (event == G_FILE_MONITOR_EVENT_DELETED) { + httpd_log (self, "root directory removed, exiting\n"); self->running = FALSE; g_main_context_wakeup (NULL); } -- 2.30.2